﻿using KAsFrame.Common.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace KAsFrame.Domain.Certificate.Dto
{
    public class TemplateCreateDto : IEntityDto<long>
    {
        public long Uid { get; set; }
        public string TempName { get; set; }
        public string Title { get; set; }
        public string ImgBase64 { get; set; }
        public List<string> LabelList { get; set; }
        public string Labels { get { return JsonConvert.SerializeObject(LabelList); } }
        public string BackgroundColor { get; set; }
    }
}
